Skip to content

Conversation

@alvarowolfx
Copy link
Collaborator

The TokenProviderWithRetry struct was not implementing RefUnwindSafe because it held Arc<dyn RetryPolicy> and Arc<dyn BackoffPolicy>, which are trait objects that do not automatically implement RefUnwindSafe.

When TokenProviderWithRetry was embedded into other public structs (like IDTokenCredentials), those structs also lost their RefUnwindSafe implementation. This caused a semantic versioning check failure as RefUnwindSafe is part of the public API promise.

Towards #3592

@alvarowolfx alvarowolfx requested a review from coryan January 29, 2026 17:42
@alvarowolfx alvarowolfx requested review from a team as code owners January 29, 2026 17:42
@alvarowolfx
Copy link
Collaborator Author

unblocks #4260, #4257 and #4256

@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.04%. Comparing base (90873cc) to head (5a08453).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4447   +/-   ##
=======================================
  Coverage   95.04%   95.04%           
=======================================
  Files         194      194           
  Lines        7372     7372           
=======================================
  Hits         7007     7007           
  Misses        365      365           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alvarowolfx
Copy link
Collaborator Author

alvarowolfx commented Jan 30, 2026

@coryan I've updated this PR based on your comments on #4256

@alvarowolfx alvarowolfx enabled auto-merge (squash) January 30, 2026 16:44
@alvarowolfx alvarowolfx merged commit 574ce77 into googleapis:main Jan 30, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants